<style type="text/css">
    .error{color: red}
</style>
<form class="form-horizontal" id="add-form" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" class="project_id" value="{$row.id}">
    <input type="hidden" class="project_typeid" value="0" name="type[typeid]">
    <div class="form-group layer-footer">
        <div class="col-xs-12 col-sm-12">
            <button type="button" class="btn btn-success btn-update">{:__('提交')}</button>
            <button type="button" class="btn btn-info btn-save">{:__('暂存')}</button>
            
            {if $isSuperAdmin}
                <button type="button" class="btn btn-warning btn-confirm">{:__('无进展确认')}</button>

                <button type="button" class="btn btn-danger btn-rejectmemo">{:__('驳回')}</button>
                {if $row.status eq 0}
                <button type="button" class="btn btn-success all_submit">{:__('审核')}</button>
                {/if}
            {/if}
        </div>
    </div>

    {if $row.status eq 2}
    <div class="form-group layer-footer">
        <div class="col-xs-12 col-sm-12" style="color: blue">
            驳回原因：{$row.reject_memo}
        </div>
    </div>
    {/if}
    <div class="panel panel-default panel-intro"> 
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" data-toggle="tab">1.基本信息</a></li>
            <li><a href="#two" data-toggle="tab">2.投资方信息</a></li>
            <li><a href="#three" data-toggle="tab">3.联系人</a></li>
        </ul>
        <div class="panel-body">
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane fade active in" id="one">
                    <div class="widget-body no-padding">
                        <div class="form-group col-sm-4">
                            <label for="firstname" class="col-sm-3 control-label"><span style="color: red;">*</span>项目名称: </label>
                            <div class="col-sm-9">
                                <input class="form-control name" name="row[name]" type="text" placeholder="请填写项目名称" value="{$row.name}" {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} required>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="name"></i></span>
                            </div>
                        </div>
                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}主责部门:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select class="form-control chargedep_ids"  name="row[chargedep_ids]" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="chargeDepsArr" id="vo"}
                                        <option value="{$key}" {if $row.chargedep_ids eq $key } selected {/if}>{$vo}</option>
                                    {/volist}
                                </select>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="chargedep_names"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">协办部门:</label>
                            <div class="col-xs-12 col-sm-9">
                                {if !$isSuperAdmin and $row.is_noprogress eq 1}
                                {:build_select('row[assist_ids][]',$assistArr,$row.assist_ids,['id'=>"assist_ids",'multiple'=>true,'class'=>'form-control selectpicker','readonly'])}
                                {else}
                                {:build_select('row[assist_ids][]',$assistArr,$row.assist_ids,['id'=>"assist_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                {/if}
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="assist_names"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}建设地址:</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control" name="row[build_address]" type="text"  placeholder="请填写建设地址" value="{$row.build_address}" {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if}  {if !$isSuperAdmin} required {/if}>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="build_address"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}落户街道:</label>
                            <div class="col-xs-12 col-sm-9">
                                <!-- <select class="form-control settle_street_ids"  name="row[settle_street_ids]" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="settle_street" id="vo"}
                                        <option value="{$key}" {if $row.settle_street_ids eq $key } selected {/if}>{$vo}</option>
                                    {/volist}
                                </select> -->

                                {if !$isSuperAdmin}
                                    {if $row.is_noprogress eq 1}  
                                        {:build_select('row[settle_street_ids][]',$settle_street,$row.settle_street_ids,['id'=>"settle_street_ids",'multiple'=>true,'class'=>'form-control selectpicker','readonly'])}
                                    {else}
                                        {:build_select('row[settle_street_ids][]',$settle_street,$row.settle_street_ids,['id'=>"settle_street_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
                                    {/if}
                                {else}
                                {:build_select('row[settle_street_ids][]',$settle_street,$row.settle_street_ids,['id'=>"settle_street_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                {/if} 
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="settle_street_names"></i></span>
                            </div>
                        </div>


                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}产业类别:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select class="form-control"  name="row[industry_category_id]" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="industrycategoryArr" id="v"}
                                        <option value="{$key}" {if $row.industry_category_id eq $key } selected {/if}>{$v}</option>
                                    {/volist}
                                </select>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="industry_category_name"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}产业领域:<br/>(13条产业链)</label>
                            <div class="col-xs-12 col-sm-9">
                                <select class="form-control industry_realm_id" {if $row.industry_realm_id eq 14} style="width:50%;float:left;" {/if} name="row[industry_realm_id]" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="realmArr" id="va"}
                                        <option value="{$key}" {if $row.industry_realm_id eq $key } selected {/if}>{$va}</option>
                                    {/volist}
                                </select>
                                {if $row.industry_realm_id==14}
                                <input class="form-control industry_realm_other" style="width:49%;float:left;margin-left:2px;" value="{$row.industry_realm_other}" name="row[industry_realm_other]" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                {else}
                                <input class="form-control industry_realm_other" style="width:49%;float:left;margin-left:2px;display:none;" name="row[industry_realm_other]" {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                {/if}
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="industry_realm_name"></i></span>
                            </div>
                        </div>
                        <!-- <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}五大产业:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select class="form-control five_industry_id" {if $row.five_industry_id eq 6} style="width:50%;float:left;" {/if} name="row[five_industry_id]" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="fiveindustry" id="vv"}
                                        <option value="{$key}" {if $row.five_industry_id eq $key } selected {/if}>{$vv}</option>
                                    {/volist}
                                </select>
                        
                                {if $row.five_industry_id==6}
                                <input class="form-control five_industry_other" style="width:49%;float: left;margin-left:2px;" name="row[five_industry_other]" {if !$isSuperAdmin}required {/if} value="{$row.five_industry_other}" {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                {else}
                                <input class="form-control five_industry_other" style="width:49%;float: left;margin-left:2px;display:none;" value="{$row.five_industry_other}" name="row[five_industry_other]" {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                {/if}

                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="five_industry_name"></i></span>
                            </div>
                        </div> -->

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}投资类别:</label>
                            <div class="col-xs-12 col-sm-9">
                                {if !$isSuperAdmin}
                                    {if $row.is_noprogress eq 1}  
                                        {:build_select('row[asset_type_id]',$Think.config.app.asset_type_id,$row.asset_type_id,['id'=>"asset_type_id",'class'=>'project_status form-control form_value','readonly'])}
                                    {else}
                                        {:build_select('row[asset_type_id]',$Think.config.app.asset_type_id,$row.asset_type_id,['id'=>"asset_type_id",'class'=>'project_status form-control form_value','required'])}
                                    {/if}
                                {else}
                                {:build_select('row[asset_type_id]',$Think.config.app.asset_type_id,$row.asset_type_id,['id'=>"asset_type_id",'class'=>'project_status form-control form_value'])}
                                {/if}
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="asset_type_name"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}总投资(亿元):</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control" name="row[investment_total]" type="number" placeholder="请填写总投资" value="{$row.investment_total}" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="investment_total"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}内资(亿元):</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control" name="row[domestic_capital]" type="number" value="{$row.domestic_capital}" placeholder="请填写内资" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="domestic_capital"></i></span>
                            </div>
                        </div>

                        {if $groupIds neq 4}
                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}分管区领导:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select class="form-control" name="row[branch_leader_id]" id="branch_leader_id" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="leaders" id="vb"}
                                        <option value="{$key}" {if $row.branch_leader_id eq $key } selected {/if}>{$vb}</option>
                                    {/volist}
                                </select>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="branch_leader_name"></i></span>
                            </div>
                        </div>
                        {/if}

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}外资(万美元):</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control" name="row[foreign_capital]" type="number" value="{$row.foreign_capital}" placeholder="请填写外资" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="foreign_capital"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}合同外资(万美元):</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control" name="row[whole_capital]" type="number" value="{$row.whole_capital}" placeholder="请填写合同外资" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="whole_capital"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}行业类别:</label>
                            <div class="col-xs-12 col-sm-9"> 
                                {if !$isSuperAdmin}
                                    {if $row.is_noprogress eq 1}  
                                        {:build_select('row[trade_category_ids][]',$tradecategory,$row.trade_category_ids,['id'=>"trade_category_ids",'multiple'=>true,'class'=>'form-control selectpicker','readonly'])}
                                    {else}
                                        {:build_select('row[trade_category_ids][]',$tradecategory,$row.trade_category_ids,['id'=>"trade_category_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
                                    {/if}
                                {else}
                                {:build_select('row[trade_category_ids][]',$tradecategory,$row.trade_category_ids,['id'=>"trade_category_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                {/if}                               
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="trade_category_names"></i></span>
                            </div>
                        </div>

                        
                        
                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}项目类别:</label>
                            <div class="col-xs-12 col-sm-9">
                                {if !$isSuperAdmin}
                                    <!-- {if $row.is_noprogress eq 1}  
                                        {:build_select('row[project_source_ids][]',$activity,$row.project_source_ids,['id'=>"project_source_ids",'multiple'=>true,'class'=>'form-control selectpicker','disabled'])}
                                    {else} -->
                                        
                                    <!-- {/if} -->
                                    {:build_select('row[project_source_ids][]',$activity,$row.project_source_ids,['id'=>"project_source_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
                                    
                                {else}
                                {:build_select('row[project_source_ids][]',$activity,$row.project_source_ids,['id'=>"project_source_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                {/if}
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="project_source_year"></i></span>
                            </div>
                        </div>
                        
                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}载体情况:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select class="form-control " style="width: 41%;float: left;" name="row[carrier_id]" id="carrier_id" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} disabled {/if} >
                                    <option value="">请选择</option>
                                    {volist name="carrierArr" id="vb"}
                                        <option value="{$key}" {if $row.carrier_id eq $key } selected {/if}>{$vb}</option>
                                    {/volist}
                                </select>
                                <input class="form-control" style="width:41%;float: left;margin-left: 2px;" name="row[carrier_id_relation]" id="carrier_id_relation" value="{$row.carrier_id_relation}" {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >
                                <span id="carrier_id_addon">{$row.carrier_id_relation_unit}</span>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="carrier_name"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}是否推荐区领导走访:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select name="row[is_recommend_arealeader]" class="form-control is_recommend_arealeader" {if !$isSuperAdmin} required {/if}  >
                                    <option value="">请选择</option>
                                    <option value="是" {if $row.is_recommend_arealeader eq '是'} selected {/if}>是</option>
                                    <option value="否" {if $row.is_recommend_arealeader eq '否'} selected {/if}>否</option>
                                </select>
                                
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="is_recommend_arealeader"></i></span>
                            </div>
                        </div>


                        <div class="form-group col-sm-4 arealeader_reason" {if $row.is_recommend_arealeader eq '否'} style="display: block;" {else} style="display: none;" {/if}>
                            <label class="control-label col-xs-12 col-sm-3">理由:</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control name" name="row[arealeader_reason]" type="text" placeholder="请填写理由" value="{$row.arealeader_reason}" >
                                <span class="msg-box n-bottom"></span>
                            </div>
                        </div>


                        <div class="form-group col-sm-4 cityleader" {if $row.is_recommend_arealeader eq '是'} style="display: block;" {else} style="display: none;" {/if}>
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}是否推荐市领导走访:</label>
                            <div class="col-xs-12 col-sm-9">
                                <select name="row[is_recommend_cityleader]" class="form-control is_recommend_cityleader" >
                                    <option value="">请选择</option>
                                    <option value="是" {if $row.is_recommend_cityleader eq '是'} selected {/if}>是</option>
                                    <option value="否" {if $row.is_recommend_cityleader eq '否'} selected {/if}>否</option>
                                </select>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="is_recommend_cityleader"></i></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-4 cityleader_reason" {if $row.is_recommend_cityleader eq '否' and $row.is_recommend_arealeader eq '是'} style="display: block;" {else} style="display: none;" {/if}>
                            <label class="control-label col-xs-12 col-sm-3">理由:</label>
                            <div class="col-xs-12 col-sm-9">
                                <input class="form-control name" name="row[cityleader_reason]" type="text" placeholder="请填写理由" value="{$row.cityleader_reason}" >
                                <span class="msg-box n-bottom"></span>
                            </div>
                        </div>

                        <div class="form-group col-sm-8">
                            <label class="control-label col-xs-12 col-sm-2" style="margin-left: -40px;">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}项目简介:</label>
                            <div class="col-xs-12 col-sm-10" style="margin-left: -9px; padding-right: 0px;">
                                <textarea  class="form-control" name="row[summary]" rows="5" cols="150" placeholder="请填写" {if !$isSuperAdmin} required {/if} {if !$isSuperAdmin and $row.is_noprogress eq 1} readonly {/if} >{$row.summary}</textarea>
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="summary"></i></span>
                            </div>
                        </div>

                        <!-- <div class="form-group col-sm-4">
                            <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}区领导接洽:</label>
                            <div class="col-xs-12 col-sm-9">
                                {if !$isSuperAdmin}
                                {:build_select('row[leader_ids][]',$leaders_list,$row.leader_ids,['id'=>"leader_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
                                {else}
                                {:build_select('row[leader_ids][]',$leaders_list,$row.leader_ids,['id'=>"leader_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                {/if}
                                <span class="msg-box n-bottom"><i class="fa fa-edit all_modidy_detail" data="leader_names"></i></span>
                            </div>
                        </div> -->

                        

                    </div>
                </div>
                
                <div class="tab-pane fade" id="two">
                    <div class="widget-body no-padding">
                        <div class="form-group col-sm-12 panel-success">
                            <div class="panel-heading">如有其他投资方请点击“增加”按钮，逐个增加。</div>
                        </div>   
                        <table id="table" class="table-responsive table table-hover" width="100%">
                            <thead>
                                <tr>
                                    <th>{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}投资方名称</th>
                                    <th>{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}投资方国别</th>
                                    <th>{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}投资方地区</th>
                                    <th>{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}投资方性质</th>
                                    <th></th>
                                    <th></th>
                                </tr>
                            </thead>
                            <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%" list_length="{:count($investment_list)}">
                                {if !empty($investment_list)}
                                {volist name='investment_list' id='v1'}
                                <tr fieldlist-item="true" index="{$key}">
                                    <td>
                                        <input type="text" name="investment[investment_name][]" value="{$v1.investment_name}" class="form-control" {if !$isSuperAdmin} required {/if}>
                                    </td>
                                    <td>
                                        {if !$isSuperAdmin}
                                        {:build_select("investment[investment_code][]",$countries,$v1.investment_code,['class'=>'form-contro investment_code','required'])}
                                        {else}
                                        {:build_select("investment[investment_code][]",$countries,$v1.investment_code,['class'=>'form-control investment_code'])}
                                        {/if}         
                                    </td>
                                    <td>
                                        <div class='control-relative'><input class="form-control city" {if $v1.investment_code =='' || $v1.investment_code == 'CN'} data-toggle="city-picker" {/if} name="investment[investment_area][]" type="text" {if !$isSuperAdmin && $v1.investment_code =='' && $v1.investment_code == 'CN'} required {/if} value="{$v1.investment_area}"> </div>

                                        <!-- <input type="text" name="investment[investment_area][]" value="{$v1.investment_area}" class="form-control" {if !$isSuperAdmin} required {/if}> -->

                                    </td>
                                    <td>
                                        {if !$isSuperAdmin}
                                        {:build_select("investment[investment_attribute_ids][$key][]",$attribute,$v1.investment_attribute_ids,['id'=>"investment_attribute_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
                                        {else}
                                        {:build_select("investment[investment_attribute_ids][$key][]",$attribute,$v1.investment_attribute_ids,['id'=>"investment_attribute_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                        {/if} 
                                    </td>
                                    <td>{if $key>0}<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>{/if}</td>
                                    <td>{if $key==0}<a href="javascript:;" class="btn btn-sm btn-success btn-new"><i class="fa fa-plus"></i>增加</a>{/if}</td>
                                </tr>
                                {/volist}
                                {else}
                                <tr fieldlist-item="true">
                                    <td><input type="text" name="investment[investment_name][]" class="form-control" {if !$isSuperAdmin} required {/if}></td>
                                    <td>
                                        {if !$isSuperAdmin}
                                        {:build_select("investment[investment_code][]",$countries,0,['class'=>'form-control investment_code','required'])}
                                        {else}
                                        {:build_select("investment[investment_code][]",$countries,0,['class'=>'form-control investment_code'])}
                                        {/if}
                                    </td>
                                    <td>
                                        <!-- <input type="text" name="investment[investment_area][]" class="form-control" {if !$isSuperAdmin} required {/if}> -->
                                        <!-- <input id="c-out_city" class="form-control" data-toggle="city-picker" name="investment[investment_area][]" type="text" {if !$isSuperAdmin} required {/if}> -->
                                        <!-- <div class='control-relative'><input id="c-out_city" class="form-control" data-toggle="city-picker" name="row[out_city]" type="text"></div> -->
                                        <div class='control-relative'><input class="form-control" data-toggle="city-picker" name="investment[investment_area][]" type="text" {if !$isSuperAdmin} required {/if}> </div>
                                    </td>
                                    <td>
                                        {if !$isSuperAdmin}
                                        {:build_select('investment[investment_attribute_ids][0][]',$attribute,[],['id'=>"investment_attribute_ids",'multiple'=>true,'class'=>'form-control selectpicker','required'])}
                                        {else}
                                        {:build_select('investment[investment_attribute_ids][0][]',$attribute,[],['id'=>"investment_attribute_ids",'multiple'=>true,'class'=>'form-control selectpicker'])}
                                        {/if}
                                    </td>
                                    <td></td>
                                    <td><a href="javascript:;" class="btn btn-sm btn-success btn-new"><i class="fa fa-plus"></i>增加</a></td>
                                </tr>
                                {/if}
                            </tbody>
                        </table>
                    </div>
                </div>


                <div class="tab-pane fade" id="three">
                    <div class="widget-body no-padding">
                       <div class="row">
                            <div class="form-group col-sm-12">
                                <div class="col-xs-12 col-sm-12" style="font-size: 14px;font-weight:bold;">
                                    主办单位联系人:
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-4">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}主办单位:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <select class="form-control"  name="row[organizer_departid]" {if !$isSuperAdmin} required {/if}>
                                        <option value="">请选择</option>
                                        {volist name="chargeDepsArr" id="vo"}
                                            <option value="{$key}" {if $row.organizer_departid eq $key } selected {/if}>{$vo}</option>
                                        {/volist}
                                    </select>
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}职务:</label>
                                <div class="col-xs-12 col-sm-9">
                                    <input class="form-control" name="row[organizer_duty]" type="text" placeholder="请填写职务" value="{$row.organizer_duty}" {if !$isSuperAdmin} required {/if}>
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}姓名:</label>
                                <div class="col-xs-12 col-sm-9">
                                    <input class="form-control" name="row[organizer_name]" type="text" placeholder="请填写姓名" value="{$row.organizer_name}" {if !$isSuperAdmin} required {/if}>
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-4">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}联系电话:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input class="form-control" name="row[organizer_tel]" type="text" placeholder="请填写联系电话" value="{$row.organizer_tel}" {if !$isSuperAdmin} required {/if}> 
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group col-sm-12">
                                <div class="col-xs-12 col-sm-12" style="font-size: 14px;font-weight:bold;">
                                    协办单位联系人:
                                </div>
                            </div>
                        </div>
                        <table id="table" class="table-responsive table table-hover" width="100%">
                            <thead>
                                <tr>
                                    <th>协办单位</th>
                                    <th>职务</th>
                                    <th>姓名</th>
                                    <th>联系电话</th>
                                    <th></th>
                                    <th></th>
                                </tr>
                            </thead>
                            <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                                {if !empty($contact_list)}
                                {volist name='contact_list' id='v2' key="k"}
                                <tr fieldlist-item="true">
                                    <td>
                                    <select class="form-control"  name="contacts[assist_id][]">
                                        <option value="">请选择</option>
                                        {volist name="chargeDepsArr" id="vo"}
                                            <option value="{$key}" {if $v2.assist_id eq $key } selected {/if}>{$vo}</option>
                                        {/volist}
                                    </select>
                                    </td>
                                    <td><input type="text" name="contacts[assist_duty][]" class="form-control" value="{$v2.assist_duty}"></td>
                                    <td><input type="text" name="contacts[assist_nickname][]" class="form-control" value="{$v2.assist_nickname}"></td>
                                    <td><input type="text" name="contacts[assist_tel][]" class="form-control" value="{$v2.assist_tel}"></td>
                                    <td>{if $k>1}<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>{/if}</td>
                                    <td>{if $k==1}<a href="javascript:;" class="btn btn-sm btn-success btn-make"><i class="fa fa-plus"></i>增加</a>{/if}</td>
                                </tr>
                                {/volist}
                                {else}
                                <tr fieldlist-item="true">
                                    <td>
                                        <select class="form-control"  name="contacts[assist_id][]">
                                            <option value="">请选择</option>
                                            {volist name="chargeDepsArr" id="vo"}
                                                <option value="{$key}">{$vo}</option>
                                            {/volist}
                                        </select>
                                    </td>
                                    <td><input type="text" name="contacts[assist_duty][]" class="form-control"></td>
                                    <td><input type="text" name="contacts[assist_nickname][]" class="form-control"></td>
                                    <td><input type="text" name="contacts[assist_tel][]" class="form-control"></td>
                                    <td></td>
                                    <td><a href="javascript:;" class="btn btn-sm btn-success btn-make"><i class="fa fa-plus"></i>增加</a></td>
                                </tr>                    
                                {/if}
                            </tbody>
                        </table>

                        <div class="row">
                            <div class="form-group col-sm-12">
                                <div class="col-xs-12 col-sm-12" style="font-size: 14px;font-weight:bold;">
                                    招商促进中心联系人:
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}科室:</label>
                                <div class="col-xs-12 col-sm-9">
                                    {if !$isSuperAdmin}
                                    {:build_select('row[socialized_department_id]',$centraloffices,$row.socialized_department_id,['id'=>"socialized_department_id",'class'=>'form-control','required'])}
                                    {else}
                                    {:build_select('row[socialized_department_id]',$centraloffices,$row.socialized_department_id,['id'=>"socialized_department_id",'class'=>'form-control'])}
                                    {/if}
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-3">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}姓名:</label>
                                <div class="col-xs-12 col-sm-9">
                                    <input class="form-control" name="row[socialized_name]" type="text"  placeholder="请填写姓名" value="{$row.socialized_name}" {if !$isSuperAdmin} required {/if}>
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                            <div class="form-group col-sm-3">
                                <label class="control-label col-xs-12 col-sm-4">{if !$isSuperAdmin}<span style="color: red;">*</span>{/if}联系电话:</label>
                                <div class="col-xs-12 col-sm-8">
                                    <input class="form-control" name="row[socialized_tel]" type="text"  placeholder="请填写联系电话" value="{$row.socialized_tel}" {if !$isSuperAdmin} required {/if}>
                                    <span class="msg-box n-bottom"></span>
                                </div>
                            </div>
                        </div>  
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="panel panel-default panel-intro">    
        <ul class="nav nav-tabs">
            <li class="active"><a href="#four" data-toggle="tab">项目阶段</a></li>
            <li><a href="#five" data-toggle="tab">推进详情</a></li>
            <li><a href="#six" data-toggle="tab">项目推进计划</a></li>
        </ul>
        <div class="panel-body">
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane fade active in" id="four">
                    <div class="widget-body no-padding">
                        <div id="toolbar1" class="toolbar">
                            <a href="javascript:;" class="btn btn-success btn-addstage {:$auth->check('project/addstage')?'':'hide'}" title="{:__('Add')}" data-area='["70%","93%"]'><i class="fa fa-plus"></i> {:__('新增')}</a>
                        </div>
                    </div>
                    <table id="table" class="table-responsive table table-hover" width="100%">
                        <thead>
                            <tr>
                                <th>项目阶段</th>
                                <th>时间</th>
                                <th>填报人</th>
                                <th>更新时间</th>
                                <th>状态</th>
                                <th>备注</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                            {if $stage_list}
                                {volist name='stage_list' id='vo'}
                                {if $groupIds eq 4}  <!--区领导未审核的不显示-->
                                {if $vo.status eq 1}
                                <tr>
                                    <td>{$vo.project_stage_name}</td>
                                    <td>{$vo.project_stage_time_text}</td>
                                    
                                    <td>{$vo.report_name}</td>
                                    <td>{$vo.update_time_text}</td>
                                    <td>已审核</td>
                                    <td>{$vo.memo}</td>
                                    <td>
                                        <a href="javascript:;" class="btn btn-xs btn-view btn-info" ids="{$vo.id}" title="详情"><i class="fa fa-info"></i></a>
                                    </td>
                                </tr>
                                {/if}
                                {else}
                                <tr {if $vo.status eq 0} style="color: #cd2a19" {/if}>
                                    <td>{$vo.project_stage_name}</td>
                                    <td>{$vo.project_stage_time_text}</td>
                                    <td>{$vo.report_name}</td>
                                    <td>{$vo.update_time_text}</td>
                                    <td>{if $vo.status eq 1} 已审核 {elseif $vo.status eq -1} 待提交 {elseif $vo.status eq 2} 已驳回 {else} 未审核 {/if}</td>
                                    <td>{$vo.memo}</td>
                                    <td>
                                        <a href="javascript:;" class="btn btn-xs btn-view btn-info" ids="{$vo.id}" title="详情"><i class="fa fa-info"></i></a>
                                        {if $vo.status eq -1 or $vo.status eq 2}
                                        <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="stage"><i class="fa fa-pencil"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-delete btn-danger " ids="{$vo.id}" title="删除" del="stage"><i class="fa fa-trash"></i></a>
                                        {elseif $isSuperAdmin}
                                        <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="stage"><i class="fa fa-pencil"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-delete btn-danger " ids="{$vo.id}" title="删除" del="stage"><i class="fa fa-trash"></i></a>
                                        {/if}
                                    </td>
                                </tr>
                                {/if}
                                {/volist}
                            {/if}

                        </tbody>
                    </table>

                    {if $isSuperAdmin}
                    <div class="tab-pane fade active in" style="color: #3498db">

                        <table id="table" class="table-responsive table table-hover" width="100%">
                            <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                                <tr>
                                    <td>项目当前阶段：{$progress_status_name}<span style="margin-left:50px;"></span>
                                        {$progress_status_name}时间：{$progress_time}</td>
                                    <td>
                                        {if !$progress_status_name}
                                        <a href="javascript:;" class="btn btn-xs btn-insert btn-success" title="添加"><i class="fa fa-plus"></i></a>
                                        {else}
                                        <a href="javascript:;" class="btn btn-xs btn-editor btn-success" title="编辑" edit="stage"><i class="fa fa-pencil"></i></a>
                                       <!--  <a href="javascript:;" class="btn btn-xs btn-cutout btn-danger" title="删除" del="stage"><i class="fa fa-trash"></i></a> -->
                                        {/if}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        
                    </div>
                    {/if}

                    {if $isSuperAdmin}
                    <div class="tab-pane fade active in" style="color: #3498db">
                        <table id="table" class="table-responsive table table-hover" width="100%">
                            <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                                <tr>
                                    <td>项目备注：<span style="margin-left:50px;"></span>
                                    {$row.project_demo}
                                    </td>
                                    
                                    <td>
                                        {if !$row.project_demo}
                                        <a href="javascript:;" class="btn btn-xs btn-demo btn-success" title="添加"><i class="fa fa-plus"></i></a>
                                        {else}
                                        <a href="javascript:;" class="btn btn-xs btn-editdemo btn-success" title="编辑"><i class="fa fa-pencil"></i></a>
                                        {/if}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        
                    </div>
                    {/if}

                </div>
                
                
                <div class="tab-pane fade" id="five">
                    <div class="widget-body no-padding">
                        <div id="toolbar2" class="toolbar">
                           <a href="javascript:;" class="btn btn-success btn-addprogress {:$auth->check('project/addprogress')?'':'hide'}" title="{:__('Add')}" data-area='["70%","93%"]'><i class="fa fa-plus"></i> {:__('新增')}</a>
                           
                        </div>
                        <table id="table" class="table-responsive table table-hover" width="100%">
                        <thead>
                            <tr>
                                <th>进展情况</th>
                                <th>存在问题</th>
                                <th>下一步措施</th>
                                <th>填报人</th>
                                <th>状态</th>
                                <th>更新时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                            {if $progress_list}
                                {volist name='progress_list' id='vo'}
                                {if $groupIds eq 4}  <!--区领导未审核的不显示-->
                                {if $vo.status eq 1}
                                <tr >
                                    <td width="20%">{$vo.content}</td>
                                    <td width="20%">{$vo.problem}</td>
                                    <td width="20%">{$vo.next_measure}</td>
                                    <td>{$vo.report_name}</td>
                                    <td> 已审核 </td>
                                    <td>{$vo.progress_time_text}</td>
                                    <td>
                                        <a href="javascript:;" class="btn btn-xs btn-detail btn-info " ids="{$vo.id}" title="详情"><i class="fa fa-info"></i></a>
                                    </td>
                                </tr>
                                {/if}
                                {else}
                                <tr {if $vo.status eq 0} style="color: #cd2a19" {/if}>
                                    <td width="20%">{$vo.content}</td>
                                    <td width="20%">{$vo.problem}</td>
                                    <td width="20%">{$vo.next_measure}</td>
                                    <td>{$vo.report_name}</td>
                                    <td>{if $vo.status eq 1} 已审核 {elseif $vo.status eq -1} 待提交 {elseif $vo.status eq 2} 已驳回 {else} 未审核 {/if}</td>
                                    <td>{$vo.progress_time_text}</td>
                                    <td>
                                        <a href="javascript:;" class="btn btn-xs btn-detail btn-info " ids="{$vo.id}" title="详情"><i class="fa fa-info"></i></a>
                                        {if $vo.status eq -1 or $vo.status eq 2}
                                        <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="progress"><i class="fa fa-pencil"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-delete btn-danger " ids="{$vo.id}" title="删除" del="progress"><i class="fa fa-trash"></i></a>
                                        {elseif $isSuperAdmin}
                                        <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="progress"><i class="fa fa-pencil"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-delete btn-danger " ids="{$vo.id}" title="删除" del="progress"><i class="fa fa-trash"></i></a>
                                        {/if}
                                    </td>
                                </tr>
                                {/if}
                                {/volist}
                            {/if}

                        </tbody>
                    </table>
                    </div>
                </div>

                <div class="tab-pane fade" id="six">
                    <div class="widget-body no-padding">
                        <div id="toolbar1" class="toolbar">
                        <a href="javascript:;" class="btn btn-success btn-addplan {:$auth->check('project/addplan')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('新增')}</a>
                        <a href="javascript:;" class="btn btn-danger"><i class="fa fa-hand-stop-o"></i> 已达进度：{$plan_count}次</a>
                        </div>
                    </div>
                    <table id="table" class="table-responsive table table-hover" width="100%">
                        <thead>
                            <tr>
                                <th>计划项目阶段</th>
                                <th>计划时间</th>
                                <th>是否达进度</th>
                                <th>备注</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                            {if $plan_list}
                                {volist name='plan_list' id='vo'}
                                {if $groupIds eq 4}  <!--区领导未审核的不显示-->
                                {if $vo.status eq 1}
                                <tr>
                                    <td>{$vo.plan_status_text}</td>
                                    <td>{$vo.plan_time_text}</td>
                                    <td>{if $vo.is_standard eq 1} 已达标 {else} 未达标 {/if}</td>
                                    <td>{$vo.memo}</td>
                                    <td>已审核</td>
                                    <td>--</td>
                                </tr>
                                {/if}
                                {else}
                                <tr {if $vo.status eq 0} style="color: #cd2a19" {/if}>
                                    <td>{$vo.plan_status_text}</td>
                                    <td>{$vo.plan_time_text}</td>
                                    <td>{if $vo.is_standard eq 1} 已达标 {else} 未达标 {/if}</td>
                                    <td>{$vo.memo}</td>
                                    <td>{if $vo.status eq 1} 已审核 {elseif $vo.status eq -1} 待提交 {elseif $vo.status eq 2} 已驳回 {else} 未审核 {/if}</td>
                                    <td>
                                        {if $isSuperAdmin}
                                        <a href="javascript:;" class="btn btn-xs btn-stand btn-warning " ids="{$vo.id}" title="已达标"><i class="fa fa-hand-stop-o"></i></a>
                                        {/if}
                                        {if $vo.status eq -1 or $vo.status eq 2}
                                        <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="plan"><i class="fa fa-pencil"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-delete btn-danger" ids="{$vo.id}" title="删除" del="plan"><i class="fa fa-trash"></i></a>
                                        {elseif $isSuperAdmin}
                                        <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="plan"><i class="fa fa-pencil"></i></a>
                                        <a href="javascript:;" class="btn btn-xs btn-delete btn-danger " ids="{$vo.id}" title="删除" del="plan"><i class="fa fa-trash"></i></a>
                                        {/if}
                                    </td>
                                </tr>
                                {/if}
                                {/volist}
                            {/if}
                        </tbody>
                    </table>
                    
                </div>

            </div>
        </div>
    </div>

    
    <div class="panel panel-default panel-intro">    
        <ul class="nav nav-tabs">
            <li class="active"><a href="#seven" data-toggle="tab">领导接洽信息</a></li>
        </ul>
        <div class="panel-body">
            <div id="myTabContent" class="tab-content">
                <div class="tab-pane fade active in" id="seven">
                    <div class="widget-body no-padding">
                        <div id="toolbar1" class="toolbar">
                        <a href="javascript:;" class="btn btn-success btn-addcentralcontact {:$auth->check('project/addcentralcontact')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('新增')}</a>
                        </div>
                    </div>
                </div>
            </div>
            <table id="table" class="table-responsive table table-hover" width="100%">
                <thead>
                    <tr>
                        <th>接洽区领导</th>
                        <th>接洽时间</th>
                        <th>接洽类别</th>
                        <th>接洽地点</th>
                        <th>会谈内容</th>
                        <th>参加单位</th>
                        <th>主责单位</th>
                        <th>中心陪同科室</th>
                        <th>中心陪同人员</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody class="fieldlist" data-name="investment" data-listidx="0" style="width: 100%">
                    {if $centralcontact_list}
                        {volist name='centralcontact_list' id='vo'}
                        {if $groupIds eq 4}  <!--区领导未审核的不显示-->
                        {if $vo.status eq 1}
                        <tr >
                            <td>{$vo.leader_names}</td>
                            <td>{$vo.receive_time_desc}</td>
                            <td>{$vo.contact_typename}</td>
                            <td>{$vo.contact_city}</td>
                            <td title="{$vo.content}">
                                {if strlen($vo.content)>20}
                                {$vo.content|mb_substr=###,0,20,'utf-8'}...
                                {else}
                                {$vo.content}
                                {/if}
                            </td>
                            <td title="{$vo.join_depart_names}">
                                {if strlen($vo.join_depart_names)>8}
                                {$vo.join_depart_names|mb_substr=###,0,8,'utf-8'}...
                                {else}
                                {$vo.join_depart_names}
                                {/if}
                            </td>
                            <td title="{$vo.chargedep_names}">
                                {if strlen($vo.chargedep_names)>8}
                                {$vo.chargedep_names|mb_substr=###,0,8,'utf-8'}...
                                {else}
                                {$vo.chargedep_names}
                                {/if}
                            </td>
                            <td>{$vo.centraloffice_name}</td>
                            <td>{$vo.contact_name}</td>
                            <td>已审核</td>
                            <td>
                                <a href="javascript:;" class="btn btn-xs btn-detailcontact btn-info " ids="{$vo.id}" title="详情"><i class="fa fa-info"></i></a>
                            </td>
                        </tr>
                        {/if}
                        {else}
                        <tr {if $vo.status eq 0} style="color: #cd2a19" {/if}>
                            <td>{$vo.leader_names}</td>
                            <td>{$vo.receive_time_desc}</td>
                            <td>{$vo.contact_typename}</td>
                            <td>{$vo.contact_city}</td>
                            <td title="{$vo.content}">
                                {if strlen($vo.content)>20}
                                {$vo.content|mb_substr=###,0,20,'utf-8'}...
                                {else}
                                {$vo.content}
                                {/if}
                            </td>
                            <td title="{$vo.join_depart_names}">
                                {if strlen($vo.join_depart_names)>8}
                                {$vo.join_depart_names|mb_substr=###,0,8,'utf-8'}...
                                {else}
                                {$vo.join_depart_names}
                                {/if}
                            </td>
                            <td title="{$vo.chargedep_names}">
                                {if strlen($vo.chargedep_names)>8}
                                {$vo.chargedep_names|mb_substr=###,0,8,'utf-8'}...
                                {else}
                                {$vo.chargedep_names}
                                {/if}
                            </td>
                            <td>{$vo.centraloffice_name}</td>
                            <td>{$vo.contact_name}</td>
                            <td>{if $vo.status eq 1} 已审核 {elseif $vo.status eq -1} 待提交 {elseif $vo.status eq 2} 已驳回 {else} 未审核 {/if}</td>
                            <td>
                                <a href="javascript:;" class="btn btn-xs btn-detailcontact btn-info " ids="{$vo.id}" title="详情"><i class="fa fa-info"></i></a>
                                {if $vo.status eq -1 or $vo.status eq 2}
                                <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="centralcontact"><i class="fa fa-pencil"></i></a>
                                <a href="javascript:;" class="btn btn-xs btn-delete btn-danger" ids="{$vo.id}" title="删除" del="centralcontact"><i class="fa fa-trash"></i></a>
                                {elseif $isSuperAdmin}
                                <a href="javascript:;" class="btn btn-xs btn-amend btn-success" ids="{$vo.id}" title="编辑" edit="centralcontact"><i class="fa fa-pencil"></i></a>
                                <a href="javascript:;" class="btn btn-xs btn-delete btn-danger " ids="{$vo.id}" title="删除" del="centralcontact"><i class="fa fa-trash"></i></a>
                                {/if}
                            </td>
                        </tr>
                        {/if}
                        {/volist}
                    {/if}
                </tbody>
            </table>
        </div>
    </div>
</form>

<style type="text/css">
/* 去除webkit中input的type="number"时出现的上下图标 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type="number"] {
    -moz-appearance: textfield;
}
</style>